<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>  
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">  
<html>  
  <head>  
    <title>新闻列表</title> 
    <%@ include file="../admin/head.jsp"%> 
    <!-- 引用百度的Ueditor插件  Start -->
    <script type="text/javascript" charset="utf-8" src="../resource/plugin/ueditor/ueditor.config.js"></script>
    <script type="text/javascript" charset="utf-8" src="../resource/plugin/ueditor/ueditor.all.min.js"> </script>
     <!-- 引用百度的Ueditor插件 End -->
	<script type="text/javascript" src="../resource/js/news/list.js?v=6"></script>
	
  </head>  
    
  <body>  
  	
  	<table id="dg" class="easyui-datagrid"
            data-options="rownumbers:true,singleSelect:false,pagination:true,pageSize:20,fitColumns:true,fit:true"
            toolbar="#toolbar">
       <thead>
           <tr>
        	   <th data-options="field:'id',checkbox:true"></th>
        	   <th data-options="field:'newsTitle',width:80,align:'center'">新闻标题</th>
        	   <th data-options="field:'newsStatus',hidden:true">新闻状态(int)</th>
        	   <th data-options="field:'newsHtmlContent',hidden:true">新闻内容</th>
        	   <th data-options="field:'newsStatusStr',width:80,align:'center'">新闻状态</th>
        	   <th data-options="field:'createTime',width:80,align:'center'">创建时间</th>
           </tr>
       </thead>
    </table>
    <div id="toolbar" style="text-align:left;">
   		 <a href="#" id="toAdd" class="easyui-linkbutton" iconCls="icon-add" plain="true" onclick="toAdd()">新增</a>
   		 <a href="#" id="toEdit" class="easyui-linkbutton" iconCls="icon-edit" plain="true" onclick="toEdit()">修改</a>
   		 <a href="#" id="del" class="easyui-linkbutton" iconCls="icon-cut" plain="true" onclick="del()">删除</a>
 		 <a href="#" id="publish" class="easyui-linkbutton" iconCls="icon-ok" plain="true" onclick="publish()">发布新闻</a>
		 <a href="#" id="unpublish" class="easyui-linkbutton" iconCls="icon-cancel" plain="true" onclick="unpublish()">撤销发布</a>
   		 <a href="#" id="ext" class="easyui-linkbutton" iconCls="icon-redo" plain="true" onclick="ext()">导出</a>
	 	 <input type="text" name="keyWord" id="keyWord" placeholder="输入搜索内容" style="margin-left: 10"/>
  		 <a href="#" class="easyui-linkbutton" iconCls="icon-search" plain="true" onClick="_search()">搜索</a>
  		 <a href="#" class="easyui-linkbutton" iconCls="icon-reload" plain="true" onClick="reset()">刷新</a>
    </div>
  </body>  
</html>  